package com.css.zfzx.fwsjcj.modules.taskmanage.task.entity;

import org.springframework.beans.factory.annotation.Autowired;

import javax.persistence.*;
import java.util.Date;

/**
 * 任务表
 */
@Entity
@Table(name = "fw_task", schema = "fwsjcj", catalog = "")
public class FwTaskEntity {
    /**
     * 任务Id
     */
    private String taskId;
    /**
     * 任务编码
     */
    private String taskNum;
    /**
     * 任务名称
     */
    private String taskName;
    /**
     * 任务类型
     */
    private String taskType;
    /**
     * 任务管理员名称
     */
    private String taskManager;
    /**
     * 小组Id
     */
    private String groupId;
    /**
     * 组长名称
     */
    private String groupLeader;
    /**
     * 组长手机号
     */
    private String groupLeaderMobile;
    /**
     * 地图信息
     */
    private String mapInfo;
    /***
     * 任务状态
     */
    private String status;
    /**
     * 任务管理员Id
     */
    private String createUser;
    /**
     * 创建时间
     */
    private Date createTime;
    /***
     * 更新用户
     */
    private String updateUser;
    /**
     * 更新时间
     */
    private Date updateTime;
    /**
     * 删除标识
     */
    private String delFlag;
    /**
     * 小组名称
     */
    private String groupName;
    /**
     * 组长ID
     */
    private String groupLeaderId;
    /**
     * 任务地区
     */
    private String division;
    /**
     * 质检员id 逗号分隔
     */
    private String qualityId;
    /**
     * 质检员名称 逗号分隔
     */
    private String qualityName;
    /**
     * 任务质检状态
     * 0未完成审核不能质检 1任务未质检 2质检中(即已经分配质检人) 3质检完成(任务下普查表都已质检)
     */
    private String qualityStatus;
    /**
     * 任务面积
     */
    private String taskArea;

    @Id
    @Column(name = "task_id")
    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    @Basic
    @Column(name = "task_num")
    public String getTaskNum() {
        return taskNum;
    }

    public void setTaskNum(String taskNum) {
        this.taskNum = taskNum;
    }

    @Basic
    @Column(name = "task_name")
    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    @Basic
    @Column(name = "task_type")
    public String getTaskType() {
        return taskType;
    }

    public void setTaskType(String taskType) {
        this.taskType = taskType;
    }

    @Basic
    @Column(name = "task_manager")
    public String getTaskManager() {
        return taskManager;
    }

    public void setTaskManager(String taskManager) {
        this.taskManager = taskManager;
    }

    @Basic
    @Column(name = "group_id")
    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    @Basic
    @Column(name = "group_leader")
    public String getGroupLeader() {
        return groupLeader;
    }

    public void setGroupLeader(String groupLeader) {
        this.groupLeader = groupLeader;
    }

    @Basic
    @Column(name = "group_leader_mobile")
    public String getGroupLeaderMobile() {
        return groupLeaderMobile;
    }

    public void setGroupLeaderMobile(String groupLeaderMobile) {
        this.groupLeaderMobile = groupLeaderMobile;
    }

    @Basic
    @Column(name = "map_info")
    public String getMapInfo() {
        return mapInfo;
    }

    public void setMapInfo(String mapInfo) {
        this.mapInfo = mapInfo;
    }

    @Basic
    @Column(name = "status")
    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Basic
    @Column(name = "create_user")
    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    @Basic
    @Column(name = "create_time")
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Basic
    @Column(name = "update_user")
    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    @Basic
    @Column(name = "update_time")
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Basic
    @Column(name = "del_flag")
    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    @Basic
    @Column(name = "group_name")
    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    @Basic
    @Column(name = "group_leader_id")
    public String getGroupLeaderId() {
        return groupLeaderId;
    }

    public void setGroupLeaderId(String groupLeaderId) {
        this.groupLeaderId = groupLeaderId;
    }

    @Basic
    @Column(name = "division")
    public String getDivision() {
        return division;
    }

    public void setDivision(String division) {
        this.division = division;
    }

    @Basic
    @Column(name = "quality_id")
    public String getQualityId() {
        return qualityId;
    }

    public void setQualityId(String qualityId) {
        this.qualityId = qualityId;
    }

    @Basic
    @Column(name = "quality_name")
    public String getQualityName() {
        return qualityName;
    }

    public void setQualityName(String qualityName) {
        this.qualityName = qualityName;
    }

    @Basic
    @Column(name = "quality_status")
    public String getQualityStatus() {
        return qualityStatus;
    }

    public void setQualityStatus(String qualityStatus) {
        this.qualityStatus = qualityStatus;
    }
    @Basic
    @Column(name = "task_area")
    public String getTaskArea() {
        return taskArea;
    }

    public void setTaskArea(String taskArea) {
        this.taskArea = taskArea;
    }
}
